#include <vector>
#include <string>
#include <memory>
#include <iostream>
// #include <cshare>
using namespace std;
int main()
{
    double d = 10;
    vector<double> vec = {10, 102, 32};
    shared_ptr<vector<double>> p1 = make_shared<vector<double>>(vec);
    cout << (*p1)[1] << endl;
    shared_ptr<double> p2 = make_shared<double>(d);
    cout << *p2 << endl;
    return 0;
}